package com.carrental.api.oms.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.carrental.api.oms.domain.OmsOrder;
import com.carrental.api.oms.domain.vo.OmsOrderVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 订单 Mapper 接口
 * </p>
 *
 * @author 梁毅
 * @since 2022-03-07 23:00:58
 */
public interface OmsOrderMapper extends BaseMapper<OmsOrder> {
    IPage<OmsOrder> pageList(IPage<?> objectPage, @Param(Constants.WRAPPER) Wrapper<?> queryWrapper);
    List<OmsOrderVo> myList( @Param(Constants.WRAPPER) Wrapper<?> queryWrapper);

//    OmsOrderDetailVo getOrderAllDetail(@Param(Constants.WRAPPER) Wrapper<?> queryWrapper);
}
